home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
DEMON
/
HAMRADIO
/
KAM_MODE.ARC
/
!KamMode
/
!Manual
/
manual
< prev
next >
Wrap
Text File
|
1992-09-30
|
19KB
|
518 lines
*** !KamMode ***
version 0
Please note that at this date (22-2-92) no tests have been conducted with
other than a 310.
What you need to get going.
An Archimedes, A5000 (untested) or A3000, Kantronics All Mode and suitable
radio etc.
MAKE A BACKUP >>>> NOW <<<<
Due to a very unreasonable attitude on the part
of my bank manager i have been unable to obtain
an A5000 for testing !!!
-----------------------------------------------------------------------------
Wiring the TNC to Archimedes lead. THIS may or MAY NOT APPLY TO ALL MODELS !
Archimedes TNC
Pin 1+4+8 connected together. (None to tnc)
Pin 2 Pin 3
Pin 3 Pin 2
Pin 6 Pin 5
Pin 5 Pins 1+7
Pin 7 Pin 4
Pin 9 (ring indicator) Pin 8 (connect status).
The program will run without the connection to the ring indicator but note
that it is used in my packet programs.
PLEASE Check before proceeding !
-----------------------------------------------------------------------------
Communication with the computer.
This program reads the file "baudrate" to determin the baud rate, date bits,
stop bits and parity your require, edit as required.
Edit line 1 to read your required baud rate (9600, 1200 etc.).
Edit line 2 to read your required number of bits (normally 8).
Edit line 3 to read your required number of stop bits (normally 1).
Edit line 4 to read your required parity (0=none)
(1=odd)
(2=even)
****** THIS FILE MUST NOT BE RENAMED. *****
9600
8
1
0
This file contains the required baud rate (9600 1200 etc.)
number of bits (normally 8)
parity (0=none 1=odd 2=even)
number of stop bits (1 or whatever).
Alter ONLY the first three lines.
Note that the rx and tx rates are assumed to be the same.
****** THIS FILE MUST NOT BE RENAMED. ******
-----------------------------------------------------------------------------
TNC settings
See the file inside !YatProg called setkam for example settings for a Kam
All Mode and make special note of the commands which affect CTS/RTS
operation, note especially that ECHO should be OFF and DAYUSA OFF.
-----------------------------------------------------------------------------
DESKTOP (Icon bar) MENU INSTRUCTIONS.
Info
Click on here for the usual info box.
Quit
Click on here to remove !KamMode from the icon bar.
To run !KamMode you MUST select a mode from the menu.
On starting !KamMode three windows open, they are 'receive', 'transmit' and
a 'control' window, the 'control' window may be opened at any time by
clicking in any window (except 'review') with the centre or menu button.
Review : Opens the review window only.
TX window : Opens the transmit window only.
RX window : Opens the receive window only.
Control : Opens the control/command window only.
State window : Opens the small status window only.
Auto open : Closes all open windows and auto opens the rx window when
any text is received, 'auto open' is switched off should
anything be received.
Active : This entry toggles whether the program receives and text from
the TNC or not. This should be toggled OFF (unticked) when any
other terminal programs (!YatProg etc.) are on the icon bar to
prevent a clash of interests over the rs port.
-----------------------------------------------------------------------------
The 'control' window.
This is used like a menu but also includes save boxes for the
receive buffer and direct spooling to disc.
From left to right.
RX Buffer section. Click on the cross beside "ON/OFF" to toggle the
receive buffer.
Auto save, as above to toggle, saves buffer when full using an auto-generated filename * See later notes on saving * .
Review, opens a review the buffer window, to update the window click
on 'review' or close and re-open.
Empty, obvious really, confirmation is required.
Save as: Either drag the text file icon to a directory of your
choice or enter a suitable filename and click on "OK".
Disc file. Clicking on the cross with 'select' opens a file using the
pathname in the box below, the text file icon can be dragged to a suitable
directory to grab the filename and path, do this BEFORE opening the file.
Commands. Click to send the command to the tnc.
'TRANSMIT' : Puts the tnc into the tx mode. **
'RX (end)' : Sets return to RX after text is sent.**
'RX (now)' : Instant return to RX. **
'Send de' : Sends "de your call" **
'Send 'RY'' : Sets TX and sends a 'CQ' call. **
'Send 'RY'' : Sets TX and sends a string of 'RY's. **
'Baud rate' : Sets next baud rate. ##
'Shift' : Sets next shift. ##
'Invert RX' : Inverts RX mode. ##
Notes ** Not in CW mode.
## RTTY and ASCII only, NOT in AMTOR, FEC or CW.
To reset a mode simply re-select it from the icon bar menu.
Upload. Any file to be transmitted can be dragged to any window, its
filename appears in the bottom of the control window. To start sending click
on the "GO" cross, pause and abort speak for themselves.
****** THESE FILES MUST NOT BE RENAMED. ******
Send mode select/closedown sequence.
Sends the file "ASCII", "CW_RX", "LAMTOR", "RTTY", "FEC" or "closedown" to
the tnc, these files are inside !KamMode and should be edited to suit.
Extra lines may be added or deleted but the files MUST exist.
-----------------------------------------------------------------------------
****** THESE FILES MUST NOT BE RENAMED. ******
The file "USER" : This file MUST contain YOUR callsign.
****** THESE FILES MUST NOT BE RENAMED. ******
The file "CtrlCodes"
This file MUST contain the following :
Line 1 : The command to return to packet from any other mode.
Line 2 : The command to go to transmit in a non packet mode.
Line 3 : The command to go to receive immediately in a non packet mode.
Line 4 : The command to go to receive after any text sent to the tnc has
been sent.
Line 5 : The command to change receive shift in a non packet mode.
Line 6 : The command to invert the sense of the receive in a non packet
mode.
Line 7 : The command to "listen/monitor amtor signals".
Line 8 : The command to make an amtor call to another station, on the
Kam All Mode this is "AMTOR GRQN"
Line 9 : The command to go to the FEC mode.
Line 10 : The command to go to the ASCII mode.
Line 11 : The command to go to the RTTY mode.
Line 12 : The command to go to the CW mode.
X
T
R
E
S
I
LAMTOR
AMTOR
FEC
ASCII
RTTY
CW
NOTE *** DO NOT DELETE OR ADD LINES ***
****** THESE FILES MUST NOT BE RENAMED. ******
-----------------------------------------------------------------------------
Log Window. Click here to open the log entry window.
-----------------------------------------------------------------------------
Log Entry Window. The purpose of this window is to allow the entry of
information for the logbook.
**** NOTE ****
The log functions are unavailable until a !LogBook application has been
'run', attempts to open the log window prior to this will produce an error
box.
**** NOTE ****
Use manual entry. Opens a log entry.
Do auto grab. Looks through the last 32 received lines for the text
"DE " and inserts the following callsign into the
"Log callsign" writeable icon.
Close entry. Closes the curent log entry using the callsign in the "Log
callsign" writeable icon.
Open. Non active, highlited to show an entry is open.
Close down log. Click here to make a "close down entry" in the log.
Succesfull callsign grabs result in the received text "*** CONNECTED to "
being changed to "****CONNECTED to ".
All entries use the computer clock for the start time and end time and take
the text in the other writeable icons to complete the log entry.
The last three entries in the file "defaults" are used as the defaults in
the writeable icons DBwatts, Emission and frequency.
11 "output power in DBWatts"
F2D "Code for emmission type"
144.65 "Frequency for log book"
(see below)
For the log facility to work the computer must be aware of the !LogBook
application.
-----------------------------------------------------------------------------
The 'State' window : This simply reflects the state of the rx buffer, its
size and whether 'auto-save' is on or off and if a receive file is open.
This window is NOT 'active' so does NOT act on any mouse clicks apart from
the usual close, resize etc..
-----------------------------------------------------------------------------
Clicking the menu button in the RX, TX or review windows brings up the
control/command window.
Clicking the select button in the tx window gains the caret.
Clicking the select button in the review window updates it.
Clicking the adjust button in the receive window clears it.
Clicking the select button in the receive window closes all windows and sets
'auto open' ON.
IF THE TX WINDOW OWNS THE CARET THEN pressing
control key + B together will toggle the buffer
control key + E will empty the buffer
control key + A toggles the auto-save
control key + F toggles the spool to disc
control key + L opens the log window.
control key + S transfers as much of the receive screen to the receive
buffer as there is room available in the receive buffer.
Note that on the spool to disc an error will be flagged if no new filename
has been entered and a second or subsequent attempt is made to open a file.
Pressing function key 3 (f3) saves the buffer using an auto-generated file
name and empties the buffer. For this to function the directory !Mail must
be known to the machine * See later notes on saving *
Icons in the 'tx' window :
'RECEIVE' : Sets receive after text sent.
'TRANSMIT' : Sets TX in RTTY, ASCII, AND FEC.
'Amtor call to' : In AMTOR and FEC ONLY makes an amtor call to the
selcall in the next writeable icon.
'Abort amtor call': Aborts an amtor call.
In the line above those icons you can enter a line containing for
example "G4RQN G4RQN DE G1XYZ G1XYZ", select this line with the mouse
and press return to send it.
-----------------------------------------------------------------------------
The file "defaults"
(The following are examples with added comments, the actual files you use
should look like the ones inside the !YatProg application.)
11 "output power in DBWatts"
F3E "Code for emmission type"
14.08 "Frequency for log book"
The file "closedown" ***** DO NOT RENAME ***** This file should consist of
the commands you wish to send to your tnc and is sent by clicking on the
"closedown" icon in the control window". This file can be extended at will
but MUST exist.
X
| Note the insertion of control C then the character X which is the command to
| put the kam all mode back into the cmd: mode.
CCITT OFF
MARK 1600
SPACE 1800
SHIFT MODEM
CTEXT Please wait for auto connect to the PBBS
CMSG PBBS
| Next ensure that the PBBS cannot be used for 3rd party mail.
PBP ON
| Lines prefixed "|" will be ignored.
etc
etc
-----------------------------------------------------------------------------
The file "ASCII"
The file "CW_rx"
The file "FEC"
The file "LAMTOR"
The file "RTTY"
These files are all very similar and each should contain the commands necessary
to set your tnc into the required mode. As with the example files shown in this
document they contaon additional comments which should NOT be used in the 'real'
files. They MUST be as the files inside !KamMode.
X Command to return tnc to cmd: mode.
AUTOLF OFF Command to send to tnc, sets autolf OFF.
CCITT ON Command to send to tnc, sets CCITT tones ON.
LOWTONES ON Command to send to tnc, sets U.K. tones ON.
INVERT OFF Command to send to tnc, invert the rx signal.
AUTOCR 0 Command to send to tnc, add cr to sent strings.
SHIFT MODEM Command to send to tnc, set shift tones as follows.
MARK 1445 Command to send to tnc.
SPACE 1275 Command to send to tnc.
ASCII 300 Command to send to tnc, do ASCII ("RTTY 45" WOULD GO RTTY
at 45 BAUD).
"USER" This file MUST contain YOUR callsign.
-----------------------------------------------------------------------------
In the tx window there are 6 lines for the input of text to transmit, they
react as follows.
At the first space after the 65th character a carriage line is inserted to
allow continous typing while you look for the keys !
The caret may be moved up and down with the cursor keys and will go to the
end of any line with less than 79 characters in it, on lines with 79+
characters the caret will move to the start of the line, moving it to the
end of full lines will cause that line to be transmitted.
All lines react in the usual way to delete, copy, control+left or right
cursor keys and clear with control+U.
To send ANY character or control code then dial it up in the bottom of the
tx window and click on "send control character" or with the caret in the
writeable icon nearby type in the character number and press <Return> or
<Enter>. NOTE THAT ONLY DECIMAL NUMBERS (NO HEX) SHOULD BE ENTERED.
-----------------------------------------------------------------------------
COLOURS
The colours of the receive and review windows are user definable but as the
colours used (in my humble opinion) are unlikely to be frequently changed
they are defined in a file as follows.
The file is !KamMode.colours ***** DO NOT RENAME *****
Drag the file into !Edit and simply change the colour numbers as required.
Here is a copy of the file :
8 (this is line 1)
2
1
3
8
14
1
7
1
3
7
2 (this is line 12)
| EOF | DO NOT DELETE OR ADD LINES ABOVE THIS ONE.
|
Line 1 is the colour of the receive window work foreground (text)
Line 2 is the colour of the receive window work background
Line 3 is the colour of the receive window scroll bar inner
Line 4 is the colour of the receive window scroll bar background
Line 5 is the colour of the receive window title foreground
Line 6 is the colour of the receive window title background
|
Line 7 is the colour of the review window work foreground (text)
Line 8 is the colour of the review window work background
Line 9 is the colour of the review window scroll bar inner
Line 10 is the colour of the review window scroll bar backgroun
Line 11 is the colour of the review window title foreground
Line 12 is the colour of the review window title background
***** DO NOT RENAME *****
-----------------------------------------------------------------------------
* Notes on saving *
If the application !KamMode is run before the computer has seen a !Mail
directory (as supplied) then the default file path entered in the file
!KamMode.!Run will be used, a copy of that section is shown below.
Auto-saves will be to "adfs::0.$.xxxxxxxx" where "xxxxxxxx" is the time of
saving.
In the case of !YatProg being run after a !Mail application has been 'run'
auto-saves will be to the file !Mail.mail.downloads.newmail.xxxxxxxx" where
"xxxxxxxx" is the time of saving.
Edit the pathname as required i.e. the section "adfs::0.$" to suit your own
system.
Copy of part of !KamMode.!Run
| In the line below insert a default pathname to the directory required
| (example "adfs::0.$.MailDir"), this will be used in the event of the
| computer not having seen a !Mail directory.
| Alter the line ONLY between the speech marks !
|
If <Mail$Flag>=0 Then Set Mail$Dir "adfs::0.$"
|
-----------------------------------------------------------------------------
Credits
Many people have unknowingly helped with this program when i have found out
how to do things by looking at programs they have sent and/or written, to
all of them a great big thank you !
A special thanks to G7ALN for writing 'CommLink' which showed me how to do a
decent redraw !
-----------------------------------------------------------------------------
NOT MY FAULT DEPARTMENT
The resulting log is believed to be correct according to the rules and
regulations but it is YOUR RESPONSIBILITY TO ENSURE it complies with the
rules and regulations.
All this software is provided "as is"; G4RQN makes no warranty, express or
implied, of the merchantability of this software or its fitness for any
particular purpose. In no circumstances shall G4RQN be liable for any
damage, loss of profits, or any indirect or consequential loss arising out
of the use of this software or inability to use this software, even if
G4RQN has been advised of the possibility of such loss. "Software" describes
the complete package and includes any circuits or connection hints included.
-----------------------------------------------------------------------------
You have received this program without charge but should you wish to make
some payment then a donation to the following would be most suitable.
THE SPECIAL CARE BABY UNIT
QUEEN ELIZABETH HOSPITAL
GAYTON ROAD
KING'S LYNN
NORFOLK
Copies of the software may be passed on unmodified as long as i know where
it's going, this helps me if i get queries and with updates. Should you be a
brill programmer and update/upgrade the program then ok but i get the first
copy.
73s de Neil G4RQN.
W. N. Rodger
4 Burn's Nurseries
Off Wootton Road
King's Lynn
Norfolk PE30 3BG
0553 675676 after 8pm, no reply try 0553 671118 ask for Neil.